package com.czy.seed.mvc.home.entity;

import com.czy.seed.mvc.base.entity.IPrepare;
import com.czy.seed.mybatis.base.mapper.BaseMapper;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "ORDER_DETAIL")
public class OrderDetail  implements IPrepare{

    private static final long serialVersionUID = 8087119918988103127L;

    @Id
    private long id;
    private String commodityName;
    private String commodityMakPrc;
    private String commodityTrcPrc;
    private String commoditySplPrc;
    private String commodityNum;
    private String commodityTotal;
    private String commodityGrade;
    private String commodityEvaluste;
    private String commodityType;
    private String commodityGenre;
    private long orderId;
    private long commodityId;
    private Date creationTime;
    private Long creation_by;
    private Date updateTime;
    private String masterMap;
    private long version;
    private String unit;
    private String comparisonid;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityMakPrc() {
        return commodityMakPrc;
    }

    public void setCommodityMakPrc(String commodityMakPrc) {
        this.commodityMakPrc = commodityMakPrc;
    }

    public String getCommodityTrcPrc() {
        return commodityTrcPrc;
    }

    public void setCommodityTrcPrc(String commodityTrcPrc) {
        this.commodityTrcPrc = commodityTrcPrc;
    }

    public String getCommoditySplPrc() {
        return commoditySplPrc;
    }

    public void setCommoditySplPrc(String commoditySplPrc) {
        this.commoditySplPrc = commoditySplPrc;
    }

    public String getCommodityNum() {
        return commodityNum;
    }

    public void setCommodityNum(String commodityNum) {
        this.commodityNum = commodityNum;
    }

    public String getCommodityTotal() {
        return commodityTotal;
    }

    public void setCommodityTotal(String commodityTotal) {
        this.commodityTotal = commodityTotal;
    }

    public String getCommodityGrade() {
        return commodityGrade;
    }

    public void setCommodityGrade(String commodityGrade) {
        this.commodityGrade = commodityGrade;
    }

    public String getCommodityEvaluste() {
        return commodityEvaluste;
    }

    public void setCommodityEvaluste(String commodityEvaluste) {
        this.commodityEvaluste = commodityEvaluste;
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType;
    }

    public String getCommodityGenre() {
        return commodityGenre;
    }

    public void setCommodityGenre(String commodityGenre) {
        this.commodityGenre = commodityGenre;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(long commodityId) {
        this.commodityId = commodityId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public long getVersion() {
        return version;
    }

    public void setVersion(long version) {
        this.version = version;
    }

    public Long getCreation_by() {
        return creation_by;
    }

    public void setCreation_by(Long creation_by) {
        this.creation_by = creation_by;
    }

    public String getMasterMap() {
        return masterMap;
    }

    public void setMasterMap(String masterMap) {
        this.masterMap = masterMap;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getComparisonid() {
        return comparisonid;
    }

    public void setComparisonid(String comparisonid) {
        this.comparisonid = comparisonid;
    }
}
